package gov.nist.ssd.swqb.core.search;

import com.hp.hpl.jena.rdf.model.Model;

import gov.nist.ssd.swqb.core.search.AbstractSearch.LuceneMatchText;
import gov.nist.ssd.swqb.core.search.AbstractSearch.RegexMatchText;

class AnyNodeLuceneSearch extends MergedSearch {

	public AnyNodeLuceneSearch(LuceneMatchText luceneMatchText,
														 RegexMatchText  regexMatchTest,
														 Model model,
														 int requestsSize) {
		
		super(
				new LitteralLuceneSearch(luceneMatchText, model, requestsSize),
				// AnonRegexSearch doesn't work...
				//new AnonRegexSearch(regexMatchTest, model, resSize),
				new UriNodeRegexSearch(regexMatchTest, model, requestsSize)
				);
	}
	
}
